package service.impl;


import dao.IOrderDAO;
import model.Orders;
import service.IOrderService;

public class OrderService implements IOrderService {
    private IOrderDAO orderDAO;


    public IOrderDAO getOrderDAO() {
        return orderDAO;
    }


    public void setOrderDAO(IOrderDAO orderDAO) {
        this.orderDAO = orderDAO;
    }


    @Override
    public Orders saveOrder(Orders order) {
        return orderDAO.saveOrder(order);
    }

}
